<template>
  <div class="gjzx-con flex-bect">
    <div class="le inbk" v-if="list1">
      <div class="gj-tit3"><img src="./static/image/gj/zx-ico1.png" alt="" class="ico"><span class="sp">学校新闻动态</span></div>
      <div class="news-list">
        <a v-for="(item, index) in list1" :key="index" :href="router.gjNewsDetail" class="item flex-lect">
          <span class="lab">【最新】</span>
          <span class="name row1">{{item.name}}</span>
        </a>
      </div>
    </div>
    <div class="ri inbk" v-if="list2">
      <div class="gj-tit3"><img src="./static/image/gj/zx-ico2.png" alt="" class="ico"><span class="sp">学校热门标签</span></div>
      <div class="ri-box">
        <a v-for="(item, index) in list2" :key="index" href="" class="item inbks" :class="'item'+item.id"><img :src="item.ico" alt="" class="ico" v-if="item.ico"><span class="sp">{{item.name}}</span></a>
      </div>
    </div>
  </div>
  </div>
      
</template>

<script>
// 不支持 import
module.exports = {
  props:{
    list1:null,
    list2:null,
    router:{}
  },
  data: function () {
    return {
      
    };
  },
  components: {},
  mounted(){
    
  },
  methods:{
    
  }
};
</script>

<style>

</style>